package com.spring.boot.standard.admin.service;

import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.spring.boot.standard.admin.entity.Templates;

/**
 * @author qinhao
 * @since Thu Sep 09 14:31:17 CST 2021
 */
public interface TemplatesService {

	public Templates findById(String templateid);//根据主键获取对象

	public Page<Templates> findAll(Pageable pageable,Object[] args);//获取分页信息

	public List<Templates> findList(String groupname);//获取列表信息

	public List<Templates> findListSimple(String groupname);//获取列表信息

	public void deleteById(String templateid);//获取分页信息

	public Templates save(Templates templates);//保存数据
	
	public int saveFromList(List<Map<String,String>> list) throws Exception;//导入
	
}